package cn.scxy.bookcity.pojo.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 商品(Goods)实体类
 *
 * @author makejava
 * @since 2022-11-09 22:11:08
 */
@Data
public class Goods implements Serializable {


    private Integer id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 书籍作者
     */
    private String author;
    /**
     * 价格
     */
    private Object money;
    /**
     * 上架/下架
     */
    private Integer state;
    /**
     * 出版社id
     */
    private Integer pressId;
    /**
     * 上架时间
     */
    private Date createTime;
    /**
     * 出版时间
     */
    private String houseTime;
    /**
     * 销量
     */
    private Integer nums;
    /**
     * 包装类型id
     */
    private String packId;
    /**
     * 关键词
     */
    private String describe;
    /**
     * 库存
     */
    private String num;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getMoney() {
        return money;
    }

    public void setMoney(Object money) {
        this.money = money;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getPressId() {
        return pressId;
    }

    public void setPressId(Integer pressId) {
        this.pressId = pressId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getHouseTime() {
        return houseTime;
    }

    public void setHouseTime(String houseTime) {
        this.houseTime = houseTime;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public String getPackId() {
        return packId;
    }

    public void setPackId(String packId) {
        this.packId = packId;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

}

